package com.woniuxy.yoga.notice.model.exception;

import com.woniuxy.yoga.commons.core.exception.YogaException;

public class NoticeException extends YogaException {
    public NoticeException(NoticeExceptionCode nec) {
        super(nec.getCode(), nec.getMessage());
    }
    public NoticeException(Integer code, String message) {
        super(code, message);
    }
}
